package com.kll.carolinehmibiz.presentation.listener

import com.kll.carolinehmibiz.net.bean.UploadFileResponse
import java.io.File

interface PersonalAvatarProtocol {

    interface IView {
        // 上传头像成功
        fun uploadHeadImgSuccessed(data: UploadFileResponse)
        // 上传头像失败
        fun uploadHeadImgFailed(code: Int, message: String)
    }

    interface IPresenter {
        // 上传头像
        fun uploadHeadImg(file: File)
    }

}